package com.jsls.netspri.dao;

import java.util.List;

import com.jsls.netspri.entity.Page;
import com.jsls.netspri.entity.User;

@MyBatisRepository
public interface UserDao {
	
	public User findByName(String username);
	
	public List<User> findAll();
	
	public void addUser(User user);
	
	public void deleteUserById(Integer id);
	
	public List<User> findPage(Page page);
	
	public int findRow();
	
	public void updateUser(User user);
	
	public User findById(Integer id);
}
